package org.springblade.rules.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

@Data
public class RuleEvaluateResponse {

    @Schema(description = "是否命中")
    private boolean matched;

    @Schema(description = "决策结果，如 CONTINUE 或 REJECT")
    private String decisionResult;

    @Schema(description = "拒绝码，命中拒绝时返回")
    private String rejectCode;

    @Schema(description = "最终特征键值对，包含用户输入与第三方返回")
    private Map<String, Object> features;

    @Schema(description = "表达式求值的布尔结果")
    private Boolean expressionResult;
}


